home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
eflibpt4.zip
/
DEMO
/
TOUR.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1996-08-19
|
2KB
|
52 lines
{ Borland Pascal Extended Function Library - EFLIB (C) Johan Larsson, 1996
EFLIB tour; main demonstration program for EFLIB
EFLIB IS PROTECTED BY THE COPYRIGHT LAW AND MAY NOT BE COPIED, SOLD OR
MANIPULATED. FOR MORE INFORMATION, SEE PROGRAM MANUAL! THIS DEMONSTRAT-
ION PROGRAM MAY FREELY BE USED AND DISTRIBUTED. }
uses EFLIBDEF, EFLIBINI, EFLIBWIN, EFLIBSCR;
const { Definitions of some user-defined window color tables }
WindowColor1 : WindowColorTableType = (Header : (Foreground : White; Background : Blue);
Border : (Foreground : Black; Background : Green);
Shadow : (Foreground : DarkGray; Background : Black);
CloseButton : (Foreground : LightGray; Background : Green);
Text : (Foreground : White; Background : Green);
Selected : (Foreground : Yellow; Background : Red));
WindowColor2 : WindowColorTableType = (Header : (Foreground : White; Background : Red);
Border : (Foreground : LightGray; Background : Red);
Shadow : (Foreground : DarkGray; Background : Black);
CloseButton : (Foreground : LightGray; Background : Red);
Text : (Foreground : Black; Background : Red);
Selected : (Foreground : Yellow; Background : Red));
var MainWindow : WindowObjectType;
Information : StatusBarObjectType;
(* // UNDER CONSTRUCTION // *)
begin
with MainWindow do begin
{ Create main window }
Initialize; SetDefault;
SetCoordinates (1, 1, 80, 24); MaximizeTextCoordinates;
SetHeader ('EFLIB TOUR'); DisableKeep; DisableExplode;
DisableCloseButton; SetBorder (ThinBorder);
AssignColorTable (@WindowColor1); Draw;
{ Create information bar }
Information.Initialize ('@C@Welcome to EFLIB! This program will show you little of what the tool can do.');
WriteLn ('');
WriteLn ('The Guided Tour.@C@');
ReadLn;
Information.Intercept;
Intercept; { Main window }
end;
end.